package responsibilitychain;

/**
 * 校长
 * @author Fengdong.Duan
 * @create 2023/12/5 15:03
 */
public class Chancellor extends Approver {
    public Chancellor() {
        super("校长");
    }

    @Override
    void handleRequest(PurchaseRequest request) {
        System.out.println("Purchase request for " + request.getItemName() + " approved by " + name + " apply for " + request.getAmount());
    }
}
